package com.yanfan.ccapicode.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yanfan.ccapicode.dao.entity.FunctionMappingDO;
import com.yanfan.ccapicode.web.bean.query.ProductTypeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 产品功能属性值 Mapper 接口
 * </p>
 *
 * @author leyunone
 * @since 2023-12-14
 */
public interface FunctionMappingMapper extends BaseMapper<FunctionMappingDO> {

    Page<FunctionMappingDO> selectPageOrder(@Param("con") ProductTypeQuery query, Page<FunctionMappingDO> page);

    /**
     * 查询产品功能属性映射
     *
     * @param id 产品功能属性映射主键
     * @return 产品功能属性映射
     */
    public FunctionMappingDO selectCcapiFunctionMappingById(Long id);

    /**
     * 查询产品功能属性映射列表
     *
     * @param ccapiFunctionMapping 产品功能属性映射
     * @return 产品功能属性映射集合
     */
    public List<FunctionMappingDO> selectCcapiFunctionMappingList(FunctionMappingDO ccapiFunctionMapping);

}
